<?php

namespace App\Models;

class AgentPromoted extends Base
{
    protected $table = 'agent_promoted';

    /**
     * 状态: 待校验
     */
    const STATUS_TO_BE_VERIFIED = 1;

    /**
     * 状态: 已晋升
     */
    const STATUS_PROMOTED = 2;

    /**
     * 状态: 校验失败
     */
    const STATUS_PROMOTION_FAILED = 3;

    public function agent()
    {
        return $this->belongsTo(Agent::class);
    }
}
